<?php 
/**
* @orm tableName oneToOneParent
*/
class DomArOneToOneTestClass extends DomArObject {
	
	/**
	* @orm text
	*/
	public $name;
	/**
	* @orm owns child DomArOneToOneChildTestClass inverse parent
	*/
	public $child;
	
	/**
	* @orm has child DomArOneToOneChildTestClass inverse aggrParent
	*/
	public $aggrChild;
	
	public function construct( $name ) {
		$this->name = $name;
	}

}

/**
* @orm tableName oneToOneChild
*/
class DomArOneToOneChildTestClass extends DomArObject {

	/**
	* @orm text
	*/
	public $name;
	/**
	* @orm has parent DomArOneToOneTestClass inverse child
	*/
	public $parent;
	
	/**
	* @orm has parent DomArOneToOneTestClass inverse aggrChild
	*/
	public $aggrParent;
	
	public function construct( $name ) {
		$this->name = $name;
	}
}

/**
* @orm tableName oneToOneChild
*/
class DomArOneToOneChildExtTestClass extends DomArOneToOneChildTestClass {

}
?>